COLDWARM.COM returns ERRORLEVEL of 0 if the machine was cold-booted or 1 if it was warm-booted. A batch file can then be used to take different actions accordingly. Here is an example: (Remember that under straight DOS, errorlevel comparison is >=, not just =.) @echo off coldwarm if errorlevel 1 goto warm echo cold goto end :warm echo warm :end When the computer is cold-booted, the memory test initializes memory locations to be 0. When you press CTRL-ALT-DEL to warm-boot the machine, a number is written to the RESET WORD location (see assembly code) first so that memory test can be bypassed. That number is different from machine to machine, depending on the BIOS, so I am only checking if the 16-bit RESET WORD is 0. Actually, I wrote this because another program failed to work on my computer. Thanks to the people who provided me with information on the RESET WORD. Feel free to do whatever you want with this program. If you would like to send me donations, I can be contacted at the following email addresses. Chia-Chi Chao 11/22/91 Internet: chao@cs.ucla.edu Usenet: ..!(uunet,ucbvax)!cs.ucla.edu!chao GEnie: C.CHAO4